<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="../common.jsp"%>
<%@ page import="cn.firstsoft.firstframe.admin.PropertyFile"%>
<%@ page import="org.springside.core.Constants" %>
<%@ page import="java.io.*,java.util.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>管理控制台 - 环境设置 - RTX集成</title>
<%@ include file="/common/meta2.jsp"%>
<link href="../style.css" type="text/css" rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
	<table width="100%" align="center" >
		<TR>
			<TH class=listViewPaginationTdS1  align=left colSpan=4>
			设置RTX设置结果
			</TH>
		</TR>	
		<tr>
			<td widht="100%">
<%
	String rtx = request.getParameter("rtx");
	if (rtx == null ) rtx = "false";
	String rtx_server = request.getParameter("rtx_server");
	if (rtx_server == null ) rtx_server = "";
	String rtx_port = request.getParameter("rtx_port");
	if (rtx_port == null ) rtx_port = "8000";
	String rtx_httpserver = request.getParameter("rtx_httpserver");
	if (rtx_httpserver == null ) rtx_httpserver = "";
	
	PropertyFile.writeProperties("firstframe.properties", "plugins.rtx", rtx);
	PropertyFile.writeProperties("firstframe.properties", "plugins.rtx_server", rtx_server);
	PropertyFile.writeProperties("firstframe.properties", "plugins.rtx_port", rtx_port);
	PropertyFile.writeProperties("firstframe.properties", "plugins.rtx_httpserver", rtx_httpserver);
	out.println("<br>完成修改文件：firstframe.properties");		
%>
<BR>
设置成功后，需要重新启动服务器！<a href="rtx.jsp">返回设置页面</a>
			</td>
		</tr>
	</table>
</body>
</html>
